package com.hyg.idea.net.module;


import com.hyg.idea.utils.SharedPreferencesHelper;
import com.hyg.idea.HttpLibrary;

/**
 * Author: zhpan
 * Date: 2022/5/5
 */
public class BaseRequest {
    public String token;


    public BaseRequest() {
        token= (String) SharedPreferencesHelper.get(HttpLibrary.getContext(),"token","");
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void updateToken(String token) {
        this.token = token;
    }
}
